package com.zmn.plat.business.interfaces.orderconfig.orderstock.sp;

import java.util.List;

import com.zmn.plat.model.entity.orderconfig.orderstock.SubmitDutyDateVO;
import com.zmn.plat.model.entity.orderconfig.orderstock.sp.SpConfig;
import com.zmn.plat.model.entity.orderconfig.orderstock.sp.SpConfigCloseDayVO;
import com.zmn.plat.model.entity.orderconfig.orderstock.sp.SpConfigQuery;
import com.zmn.plat.model.entity.orderconfig.orderstock.sp.SpConfigVO;

/**
 * 描述: 服务商库存配置基础接口类
 *
 * @author tanghongjun
 * @since 2020-03-17 10:29:08
 */
public interface SpConfigBService {

    /**
     * 描述: 根据查询条件，查询页面展示实体集合
     *
     * @param query
     *            查询条件
     * @return List<SpConfigVO> list
     * @auther tanghongjun
     * @since 2020 /3/18 15:22
     */
    List<SpConfigVO> listVOPageByQuery(SpConfigQuery query);

    /**
     * 保存批量设置
     * 
     * @param list
     * @param operator
     */
    void saveBatchSet(List<SpConfig> list, String operator);

    /**
     * 描述此方法实现的功能
     *
     * @param vo
     *            描述此参数
     * @author xiangjunming
     * @since 20200324 17:00:54
     * @modify 20200324 xiangjunming 创建
     * @since
     */
    void closeDays(SubmitDutyDateVO<SpConfigCloseDayVO> vo);

    /**
     * 描述此方法实现的功能
     *
     * @param ids
     *            描述此参数
     * @author xiangjunming
     * @since 20200324 17:00:54
     * @modify 20200324 xiangjunming 创建
     */
    void openDays(List<Integer> ids, String operator);
}
